<form class="layui-form layui-form-pane" lay-filter="FormBizConsumptionRecordEdit" action="/biz/consumption/record/edit">
    <input type="hidden" id="id" name="id" th:value="${entity.id}">
    <div class="layui-row p-l-sm m-b-xl">
        <div class="layui-row">
            <div th:replace="common/plugin :: pa-form-input('text','发生时间(*)','favorTime','layui-col-md6',32,'required',${entity.favorTime})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','记录类型(*)','type','layui-col-md6',128,'required',${entity.consuType})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','收入','income','layui-col-md6',32,'number',${entity.income})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','支出','expenditure','layui-col-md6',32,'number',${entity.expenditure})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','标签','tags','layui-col-md12',128,'',${entity.tags})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','消费备注','desc','layui-col-md12',512,'',${entity.consuDesc})"></div>
        </div>
    </div>
</form>
<script>
    layui.use('form', function () {
        let form = layui.form;
        form.render();
    });
</script>